package com.example.smartlearning.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.smartlearning.entity.AccountEntity;

public interface AccountDao extends BaseMapper<AccountEntity> {
    //判断该账号是否存在(手机)
    AccountEntity selectAccount(String account);

    //注册账号
    int addAccount(String account, String pwd);

    //修改密码接口
    int updatePwd(String account, String pwd);

    //查找当前账号的密码
    String selectPwd(String account);
}
